<?php include "./pc/view/header.inc.htm"; ?>

<div class="container">
    <div class="content" id="threadlist_panel">
        <div class="content-header">
            <div class="tw-header-inner">
                <h2>他喜欢的</h2>
            </div>
        </div>
        <ol class="user-items">
            <?php foreach ($threadlist as $thread) { ?>
            <li class="user-item">
                <div class="stream-content">
                    <p class="item-message">
                        <a class="f15" href="<?php echo $thread['url']; ?>"><?php echo $thread['subject']; ?></a>
                    </p>
                    <div class="stream-item-footer">
                        <?php if(!$fid) { ?>
                        <a href="forum-<?php echo $thread['fid']; ?>.htm"><?php echo $thread['forumname']; ?></a>
                        <?php } ?>

                        <span class="point">•</span>
                        <?php echo $thread['agree_create_date_fmt']; ?>
                    </div>
                </div>
            </li>
            <?php } ?>
        </ol>
        <?php if(!empty($pages)) { ?>
        <div class="stream-footer">
            <div class="stream-end-inner">
                <?php echo $pages; ?>
            </div>
        </div>
        <?php } else { ?>
        <div class="stream-footer">
            <div class="stream-end-inner">已加载全部数据</div>
        </div>
        <?php } ?>
    </div>
    <div class="dashboard">

        <?php include "./pc/view/login_box.htm"; ?>

        <?php include "./pc/view/user_menu.inc.htm"; ?>
        
        <?php include "./pc/view/copyright.htm"; ?>

    </div>
    <div class="clear"></div>
</div>

<?php include "./pc/view/user_footer.inc.htm"; ?>

<script>
$('#user_menu').find('a').eq(2).class_active();
</script>